package exttable.dbclasses;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: ADMIN
 * Date: 02.11.2010
 * Time: 12:51:38
 * To change this template use File | Settings | File Templates.
 */
public class Probationer {
    private int probationer_id;
    private String probationer_code;
    private int group_id;
    private List<Visit> visitList;

    public int getProbationer_id() {
        return probationer_id;
    }

    public void setProbationer_id(int probationer_id) {
        this.probationer_id = probationer_id;
    }

    public String getProbationer_code() {
        return probationer_code;
    }

    public void setProbationer_code(String probationer_code) {
        this.probationer_code = probationer_code;
    }

    public int getGroup_id() {
        return group_id;
    }

    public void setGroup_id(int group_id) {
        this.group_id = group_id;
    }

    public List<Visit> getVisitList() {

        return visitList;
    }

    public void setVisitList(List<Visit> visitList) {
        this.visitList = visitList;
    }

    public Probationer() {
        visitList = new ArrayList<Visit>();
    }

    @Override
    public String toString() {
        return probationer_code;
    }
}
